package com.hjf.ditubiaozhu.utils;


import com.timehop.stickyheadersrecyclerview.StickyRecyclerHeadersAdapter;

import java.util.List;

/**
 * Created by hejianfeng on 17/2/1.
 */

public class GroupList<T> {
    private List<T> mItems;

    public void init(List<T> items, StickyRecyclerHeadersAdapter stickyRecyclerHeadersAdapter) {
        mItems = items;
        int size = mItems.size();
        for (int i = 0; i < size; i++) {
            if (stickyRecyclerHeadersAdapter.getHeaderId(i)==1){

            }
        }
    }

    public int size(){

        return mItems.size();
    }

    public static class StickGroupBean {
        int groupId;
        boolean isOpen;//是否打开

        int groupStartId;
        int groupStopId;
    }

}
